﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace UBlockly.UI
{
    public interface IBranchNode
    {
        bool IsNullBranch { get; }
        Node Node { get; }
        int BranchCount { get; }
        LinkedList<Node> GetBranch(int id);
        Node GetBranchRoot(int id);
        void CreateBranchRoot(int branchId, EmptyScriptNode rootNode);

        void AnyBranchChangeNotify();
    }
}
